package org.ruanjj.designmodel.adaptermodel;

//适配器支持Type适用于USB
public class TypeToUSBAdapter implements USB{
    private TypeC typeC;

    public TypeToUSBAdapter(TypeC typeC){
        this.typeC = typeC;
    }
    @Override
    public void charge() {
      typeC.charge();
    }
}
